{extend name="$admin_layout_base" /}
{block name="main-content"}
{notempty name="attr_data.page_header"}
<div class="page-header">
    <h1>
        {$attr_data.page_header[0]|default='表单页'}
        <small>
            <i class="ace-icon fa fa-angle-double-right"></i>
            {$attr_data.page_header[1]|default='表单操作'}
        </small>
        <div class="pull-right">
            {notempty name="attr_data.page_header[2]"}
            <a href="javascript:history.go(-1)" class="btn btn-info page-header-back">
                <i class="ace-icon fa fa-mail-reply bigger-110">
                    返回上页
                </i>
            </a>
            {/notempty}
            <button class="btn btn-success pull-right page-header-refesh">
                <i class="ace-icon fa fa-refresh bigger-110">
                    刷新本页
                </i>
            </button>
        </div>
    </h1>
</div>
{/notempty}
{notempty name="attr_data.form_alert"}
<div class="alert alert-block {$attr_data.form_alert['alert_class']|default='alert-success'}">
    <button type="button" class="close" data-dismiss="alert">
        <i class="ace-icon fa fa-times"></i>
    </button>
    {notempty name="attr_data.form_alert.alert_html"}
    {:$attr_data.form_alert.alert_html}
    {else /}
    页面提示警告框
    {/notempty}
</div>
{/notempty}
<div class="row">
    <div class="col-xs-12">
        <form class="form-horizontal {$attr_data.ajax_class|default=''}" method="post" {notempty name="attr_data.url"}action="{$attr_data.url}"{/notempty}>
        {:$html}
        </form>
    </div>
</div>
{/block}
{block name="scripts"}
<!--form js-->
{volist name="js_list" id="vo"}
<script src="{$vo}"></script>
{/volist}
{/block}
{block name="styles"}
<!--form styles-->
{volist name="css_list" id="vo"}
<link rel="stylesheet" href="{$vo}">
{/volist}
{/block}